<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>改变网页背景颜色</title>
</head>
<body>
<input type="button" value="红色" onclick="color('red')">
<input type="button" value="黄色" onclick="color('yellow')">
<input type="button" value="蓝色" onclick="color('blue')">





<script src="js/script.js"></script>
</body>
</html>